cmake_minimum_required(VERSION 2.8.3)
project(whu_controller)
find_package(catkin REQUIRED COMPONENTS geometry_msgs move_base tf roscpp rospy std_msgs visualization_msgs dynamic_reconfigure serial)

generate_dynamic_reconfigure_options(cfg/art_car_controller.cfg)
## System dependencies are found with CMake's conventions
# find_package(Boost REQUIRED COMPONENTS system)


## Uncomment this if the package has a setup.py. This macro ensures
## modules and global scripts declared therein get installed
## See http://ros.org/doc/api/catkin/html/user_guide/setup_dot_py.html
# catkin_python_setup()



###################################
## catkin specific configuration ##
###################################
## The catkin_package macro generates cmake config files for your package
## Declare things to be passed to dependent projects
## INCLUDE_DIRS: uncomment this if you package contains header files
## LIBRARIES: libraries you create in this project that dependent projects also need
## CATKIN_DEPENDS: catkin_packages dependent projects also need
## DEPENDS: system dependencies of this project that dependent projects also need
catkin_package(
  CATKIN_DEPENDS visualization_msgs roscpp rospy std_msgs dynamic_reconfigure serial
#  INCLUDE_DIRS include
#  LIBRARIES hypha_racecar
#  CATKIN_DEPENDS geometry_msgs move_base roscp rospy std_msgs visualization_msgs
#  DEPENDS system_lib
)

###########
## Build ##
###########

## Specify additional locations of header files
## Your package locations should be listed before other locations
# include_directories(include)
include_directories(
  include ${catkin_INCLUDE_DIRS}
  include
  ${catkin_INCLUDE_DIRS}
)

## Declare a C++ library
# add_library(${PROJECT_NAME}
#   src/${PROJECT_NAME}/hypha_racecar.cpp
# )


add_executable(art_car_controller_v10_3
  src/art_car_controller_v10_3.cpp
)
# Dynamic reconfigure: make sure configure headers are built before any node using them
add_dependencies(art_car_controller_v10_3 ${PROJECT_NAME}_gencfg)
add_dependencies(art_car_controller_v10_3 ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(art_car_controller_v10_3
  ${catkin_LIBRARIES}
)




add_executable(art_car_controller_v10_7_ceshi
  src/art_car_controller_v10_7_ceshi.cpp
)
add_dependencies(art_car_controller_v10_7_ceshi ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(art_car_controller_v10_7_ceshi
  ${catkin_LIBRARIES}
)


add_executable(art_car_controller_v10_9
  src/art_car_controller_v10_9.cpp
)
add_dependencies(art_car_controller_v10_9 ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(art_car_controller_v10_9
  ${catkin_LIBRARIES}
)


add_executable(art_car_controller_v10_10
  src/art_car_controller_v10_10.cpp
)
add_dependencies(art_car_controller_v10_10 ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(art_car_controller_v10_10
  ${catkin_LIBRARIES}
)

add_executable(art_car_controller_v10_10_ceshi
  src/art_car_controller_v10_10_ceshi.cpp
)
add_dependencies(art_car_controller_v10_10_ceshi ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(art_car_controller_v10_10_ceshi
  ${catkin_LIBRARIES}
)

add_executable(art_car_controller_v10_3_gaijin
  src/art_car_controller_v10_3_gaijin.cpp
)
add_dependencies(art_car_controller_v10_3_gaijin ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(art_car_controller_v10_3_gaijin
  ${catkin_LIBRARIES}
)

add_executable(art_car_controller_v10_10_bag
  src/art_car_controller_v10_10_bag.cpp
)
add_dependencies(art_car_controller_v10_10_bag ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(art_car_controller_v10_10_bag
  ${catkin_LIBRARIES}
)
add_executable(art_car_controller_v10_10_bag_ceshi
  src/art_car_controller_v10_10_bag_ceshi.cpp
)
add_dependencies(art_car_controller_v10_10_bag_ceshi ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(art_car_controller_v10_10_bag_ceshi
  ${catkin_LIBRARIES}
)

add_executable(art_car_controller_v11
  src/art_car_controller_v11.cpp
)
add_dependencies(art_car_controller_v11 ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(art_car_controller_v11
  ${catkin_LIBRARIES}
)

add_executable(art_car_controller_v12
  src/art_car_controller_v12.cpp
)
add_dependencies(art_car_controller_v12 ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(art_car_controller_v12
  ${catkin_LIBRARIES}
)

add_executable(art_car_controller_v13_test
  src/art_car_controller_v13_test.cpp
)
add_dependencies(art_car_controller_v13_test ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(art_car_controller_v13_test
  ${catkin_LIBRARIES}
)

add_executable(art_car_controller_v14
  src/art_car_controller_v14.cpp
)
add_dependencies(art_car_controller_v14 ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(art_car_controller_v14
  ${catkin_LIBRARIES}
)




add_executable(art_car_controller_v100
  src/art_car_controller_v100.cpp
)
add_dependencies(art_car_controller_v100 ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(art_car_controller_v100
  ${catkin_LIBRARIES}
)